package com.bestom.bluetoothlock.util;

import android.view.Gravity;
import android.widget.Toast;

import com.bestom.bluetoothlock.LockApplication;

public class ToastUtil {

    public static void toast(String text){
        Toast toast = Toast.makeText(LockApplication.getApplication().getApplicationContext(), text, Toast.LENGTH_SHORT);
        toast.setGravity(Gravity.CENTER, 0, 0);
        toast.show();
    }
}
